package com.dtz.rabbitmq.constant;

public class RabbitConstant {
	
	/******************** fanout 模式    ***************************/
	
	public final static String FANTOU_ORDER_EXCHANGE = "fanout_order_exchange";
	
	public final static String FANTOU_EMAIL_QUEUE = "email.fanout.queue";
	
	public final static String FANTOU_SMS_QUEUE = "sms.fanout.queue";
	
	public final static String FANTOU_DUANXIN_QUEUE = "duanxin.fanout.queue";
	
	/******************** direct 模式    ***************************/
	
	public final static String DIRECT_ORDER_EXCHANGE = "direct_order_exchange";
	
	public final static String DIRECT_EMAIL_QUEUE = "email.direct.queue";
	
	public final static String EMAIL_ROUTING_KEY = "com.email";
	
	public final static String DIRECT_SMS_QUEUE = "sms.direct.queue";
	
	public final static String SMS_ROUTING_KEY = "com.sms";
	
	public final static String DIRECT_DUANXIN_QUEUE = "duanxin.direct.queue";
	
	public final static String DUANXIN_ROUTING_KEY = "com.duanxin";
	
	
	/*********************  topic 模式   ************************************/
	
	public final static String TOPIC_ORDER_EXCHANGE = "topic_order_exchange";
	
	public final static String TOPIC_EMAIL_QUEUE = "email.topic.queue";
	
	public final static String EMAIL_TOPIC_ROUTING_KEY = "*.email.#";
	
	public final static String TOPIC_SMS_QUEUE = "sms.topic.queue";
	
	public final static String SMS_TOPIC_ROUTING_KEY = "#.sms.#";
	
	public final static String TOPIC_DUANXIN_QUEUE = "duanxin.topic.queue";
	
	public final static String DUANXIN_TOPIC_ROUTING_KEY = "#.duanxin.#";
	
}
